function research(){
    var values = document.getElementById("geturl").value;
    document.getElementById("listform3").action = '/admin/' + values + '/research';
    document.getElementById("listform3").submit();
}

function fgsearch(){
    document.getElementById("fgsearchform").action="/";
    document.getElementById("fgsearchform").submit();
    document.getElementById("fgsearch-input1").style.display="block";
}
function fgsearch1(){
    document.getElementById("fgsearch-input1").style.display="none";
}

function  judgeCommentIsNull(){
    if( document.getElementById("fgcontent").value == null ||
        document.getElementById("fgcontent").value == ""    ){
        document.getElementById("fgcontent").placeholder = "评论不为空！"
    }
    else {
        document.getElementById("commentform").submit();
    }
}
/*
=================================================================
后台 moive
=================================================================
 */
var SaveObject= [] ;
var SaveIndex= 0;
var saveMovie={
    movieId:'',
    img:'',
    name:'',
    hot:'',
    content:'',
    date:''
}
$(function (){
    $('#addItembutton').click(function (){
        $('#listform_li').append(
            '<div class="row " id="listItem"  >\n' +
            '                            <span  class=" col-lg-1 " ><input type="checkbox" /></span>\n' +
            '                            <div class="new1">\n' +
            '                                <input type="text" class=" col-lg-1 "  />\n' +
            '                                <input type="text" class=" col-lg-1 "  />\n' +
            '                                <input type="text" class=" col-lg-1 " />\n' +
            '                                <input type="text" class=" col-lg-1 " />\n' +
            '                                <input type="text" class=" col-lg-3 "  />\n' +
            '                                <input type="text" class=" col-lg-2 "  />\n' +
            '                            </div>\n' +
            '                        </div>'
        );
    })

    $('#subItembutton').click(function (){
        $('#listItem').remove();
    })


});
/*
=================================================================
后台 moive
=================================================================
 */